package com.woniu.bh.beautysalon.model.params;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * @author Daniel
 * @version 1.0.0
 * @ClassName LoginByPass
 * @createTime 2020年10月13日 17:39:00
 */
@Data
public class LoginByPassParam {
    @NotEmpty
    @Length(min = 11,max = 11)
    private String phone;
    @NotEmpty
    @Length(min = 6,max = 16)
    private String pass;
}
